package com.lovo.psc.service;

import com.lovo.psc.Uto.BookBean;
import com.lovo.psc.entity.SupplierPurchase;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lovo.psc.entity.Triumph;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lovo
 * @since 2022-07-08
 */
public interface ISupplierPurchaseService extends IService<SupplierPurchase> {
    /**
     * 添加报价信息
     * @param supplierPurchase 报价信息
     */
    void addBookPrice(SupplierPurchase supplierPurchase);

    /**
     * 查询所有SupplierPurchase
     * @return ListSupplierPurchase
     */
    public List<SupplierPurchase> findListSupplierPurchase(String idnumber);

    /**
     * 根据标书编号修改状态
     * @param BookNumber 标书编号
     */
    public void upDateNumStateBy(Integer BookNumber,Integer supplierNumber);
    /**
     * 根据标书编号修改状态
     */
    public void upDateNumState(Integer triumph,Integer supplierNumber);
    /**
     * 根据标书编号修改状态 审核系统取消采购方案
     * @param BookNumber 标书编号
     */
    public void del(Integer BookNumber);

    /**
     * 查询book
     * @param BookNumber
     * @param supplierNumber
     * @return
     */
    Triumph findBookByTriumphSupplierNumber(Integer BookNumber, Integer supplierNumber);


}
